package com.xcc.mota.event;

/**
 * 经过转换的触摸事件，主要转换坐标
 * Created by Administrator on 2018/1/8.
 */
public class TouchEvent {
    private float x, y;
    private int action;

    public TouchEvent() {
    }

    public TouchEvent(int action) {
        this.action = action;
    }

    public float getX() {
        return x;
    }

    public void setX(float x) {
        this.x = x;
    }

    public float getY() {
        return y;
    }

    public void setY(float y) {
        this.y = y;
    }

    public int getAction() {
        return action;
    }

    public void setAction(int action) {
        this.action = action;
    }
}
